package com.zbkj.service.model.front.req.user;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel
public class UserUpdateAuthorityReq {

    @ApiModelProperty(value = "用户id", required = true, example = "99")
    @NotNull(message = "用户id 不能为空")
    private Integer userId;

    @ApiModelProperty(value = "是否启用：0-禁用/1-启用", required = true, example = "99")
    @NotNull(message = "是否启用 不能为空")
    private Integer enable;

    @ApiModelProperty(value = "是否启用：0-禁用/1-启用", example = "禁用")
    private String remark;

}
